﻿namespace Ycg.Data
{
    /// <summary>
    /// 批量插入字段映射类
    /// </summary>
    public sealed class BulkCopyColumnMapping 
    {
        private string _sourceColumnName = string.Empty;
        private string _destinationColumnName = string.Empty;

        public BulkCopyColumnMapping() { }

        public BulkCopyColumnMapping(string sourceName, string destinationColumnName)
        {
            this._sourceColumnName = sourceName;
            this._destinationColumnName = destinationColumnName;
        }

        public string SourceColumnName
        {
            get { return this._sourceColumnName; }
            set { this._sourceColumnName = value; }
        }

        public string DestinationColumnName
        {
            get { return this._destinationColumnName; }
            set { this._destinationColumnName = value; }
        }
    }
}